@import "theme";
@import "animate";

.index-banner-wrap{
  width: 100%;
  height: 500px;
  background-color: @black;
  .swiper-slide{
    background-position: center top;
    background-repeat: no-repeat;
  }
  .swiper-pagination{
    bottom: 28px;
  }
  .swiper-pagination-bullet{
    width: 14px;
    height: 14px;
    background-color: @blue;
    opacity: .5;
  }
  .swiper-pagination-bullet-active{
    opacity: 1;
  }
  .slide1{
    width: 1000px;
    height: auto;
    margin: 0 auto;
    padding: 165px 0 0 23px;
    box-sizing: border-box;
    transition: all .5s ease-in-out;
    transform: translateX(-50px);
    img{
      display: block;
    }
  }
  .slide1-w1{
    font-size: 30px;
    font-weight: bold;
    color: @blue;
    letter-spacing: 3px;
    margin-bottom: 12px;
    padding: 0 10px;
    //transition: all .3s ease-in-out;
    //transition-delay: .3s;
    //transform: translateY(-20px);
    //opacity: 0;
  }
  .slide1-w2{
    width: 600px;
    height: 140px;
    background: rgba(255, 255, 255, .9);
    padding: 14px 0 0 10px;
    box-sizing: border-box;
    position: relative;
    margin-bottom: 5px;
    .rect1{
      position: absolute;
      left: -22px;
      top: 0;
      transition: all .5s ease-in-out;
      transition-delay: .9s;
      transform:translateY(20px);
      opacity: 0;
    }
    .rect2{
      position: absolute;
      right: 0;
      top: -12px;
      transition: all .5s ease-in-out;
      transition-delay: .9s;
      transform: translateX(-20px);
      opacity: 0;
    }
    .line{
      height: 1px;
      margin: 55px 0 15px;
      position: relative;
      &:before, &:after{
        content: "";
        position: absolute;
      }
      &:before{
        width: 460px;
        height: 3px;
        background-color: #262626;
      }
      &:after{
        width: 40px;
        height: 5px;
        background-color: #f58002;
        animation: indexAni1 5s infinite;
      }
    }
    //.w1{
    //  transition: all .3s ease-in-out;
    //  transition-delay: .6s;
    //  transform: translateY(-20px);
    //  opacity: 0;
    //}
    //.w2{
    //  transition: all .3s ease-in-out;
    //  transition-delay: .9s;
    //  transform: translateY(-20px);
    //  opacity: 0;
    //}
  }
  .slide1-w3{
    width: 134px;
    position: relative;
    .rect1{
      position: absolute;
      right: -23px;
      top: 7px;
      transition: all .5s ease-in-out;
      transition-delay: .9s;
      transform: translateY(-20px);
      opacity: 0;
    }
  }
  .slide2{
    width: 1000px;
    height: auto;
    margin: 0 auto;
    padding: 185px 0 0 0;
    box-sizing: border-box;
    text-align: center;
  }
  .slide2-w1{
    margin-bottom: 24px;
    transition: all .3s ease-in-out;
    transform: translateY(-20px);
    opacity: 0;
  }
  .slide2-w2{
    margin-bottom: 65px;
    transition: all .3s ease-in-out;
    transition-delay: .3s;
    transform: translateY(-20px);
    opacity: 0;
  }
  .slide2-w3{
    transition: all .3s ease-in-out;
    transition-delay: .6s;
    transform: translateY(-20px);
    opacity: 0;
  }
  .slide3{
    width: 1000px;
    height: auto;
    margin: 0 auto;
    padding: 162px 0 0 138px;
    box-sizing: border-box;
  }
  .slide3-w1{
    opacity: 0;
    transform: translateY(5px);
    transition: all .3s ease-in-out;
    transition-delay: 1.5s;
    margin-bottom: 15px;
  }
  .slide3-w2{
    margin-bottom: 18px;
    span{
      width: 70px;
      height: 62px;
      background-image: url("../img/index_ban03_w2.png");
      background-repeat: no-repeat;
      display: inline-block;
      vertical-align: middle;
      margin-right: 4px;
      opacity: 0;
      transform: scale(.8);
      transition: all .6s ease-in-out;
    }
    .s1{
      background-position: 0 0;
      transition-delay: 0;
    }
    .s2{
      background-position: -78px 0;
      transition-delay: .3s;
    }
    .s3{
      background-position: -157px 0;
      transition-delay: .6s;
    }
    .s4{
      background-position: -234px 0;
      transition-delay: .9s;
    }
  }
  .slide3-w3{
    opacity: 0;
    transform: translateY(-5px);
    transition: all .3s ease-in-out;
    transition-delay: 1.8s;
    margin-bottom: 36px;
  }
  .slide3-w4{
    opacity: 0;
    transform: translateY(-5px);
    transition: all .3s ease-in-out;
    transition-delay: 2.1s;
  }
  .slide3-link{
    width: 160px;
    height: 40px;
    line-height: 40px;
    background-color: @white;
    border-radius: 40px;
    display: inline-block;
    color: #4985ff;
    font-size: 12px;
    padding-left: 42px;
    box-sizing: border-box;
    letter-spacing: 1px;
    &:hover{
      .link-rect{
        &:before{
          width: 30px;
        }
        &:after{
          right: -10px;
        }
      }
    }
  }
  .link-rect{
    width: 20px;
    height: 1px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin-left: 10px;
    transition: all .3s ease-in-out;
    &:before, &:after{
      content: "";
      position: absolute;
    }
    &:before{
      width: 20px;
      height: 1px;
      background-color: #4985ff;
      left: 0;
      transition: all .3s ease-in-out;
    }
    &:after{
      width: 10px;
      height: 1px;
      background-color: #4985ff;
      right: 0;
      transform: rotateZ(30deg);
      transform-origin: 100% 100%;
      transition: all .3s ease-in-out;
    }
  }
  .slide4{
    width: 1000px;
    height: auto;
    margin: 0 auto;
    padding: 214px 0 0 622px;
    box-sizing: border-box;
    color: @white;
  }
  .slide4-w1{
    margin-bottom: 8px;
    padding-top: 15px;
    position: relative;
    opacity: 0;
    transform: translateY(-10px);
    transition: all .5s ease-in-out;
    &:before{
      width: 0;
      height: 3px;
      content: "";
      background-color: @white;
      position: absolute;
      top: 0;
      left: 0;
      transition: all .5s ease-in-out;
      transition-delay: .5s;
    }
  }
  .slide4-w2{
    line-height: 30px;
    font-size: 16px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all .5s ease-in-out;
    transition-delay: .5s;
    &:after{
      width: 0;
      height: 1px;
      background-color: @white;
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      transition: all .5s ease-in-out;
      transition-delay: 1s;
    }
  }
  .swiper-slide-active{
    .slide1{
      transform: translateX(0);
    }
    .slide1-w1{
      //transform: translateX(0);
      //opacity: 1;
    }
    .slide1-w2{
      .rect1{
        transform:translateY(0);
        opacity: 1;
      }
      .rect2{
        transform:translateX(0);
        opacity: 1;
      }
      //.w1{
      //  transform: translateY(0);
      //  opacity: 1;
      //}
      //.w2{
      //  transform: translateY(0);
      //  opacity: 1;
      //}
    }
    .slide1-w3{
      .rect1{
        transform: translateY(0);
        opacity: 1;
      }
    }
    .slide2-w1, .slide2-w2, .slide2-w3{
      transform: translateY(0);
      opacity: 1;
    }

    .slide3-w1{
      opacity: 1;
      transform: translateY(0);
    }
    .slide3-w2{
      span{
        transform: scale(1);
        opacity: 1;
      }
    }
    .slide3-w3{
      opacity: 1;
      transform: translateY(0);
    }
    .slide3-w4{
      opacity: 1;
      transform: translateY(0);
    }
    .slide4-w1{
      opacity: 1;
      transform: translateY(0);
      &:before{
        width: 100px;
      }
    }
    .slide4-w2{
      opacity: 1;
      transform: translateY(0);
      &:after{
        width: 100px;
      }
    }
  }
}
//企业内训
.index-floor1{
  width: 100%;
  padding: 65px 0 85px;
  overflow: hidden;
  .floor-title{
    position: relative;
    margin-bottom: 65px;
    font-family: "PingFangMedium";
    text-align: center;
  }
  .title-cn{
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 2px;
    color: @gray33;
  }
  .title-en{
    font-size: 18px;
    color: @gray4c;
  }
  .floor-wrap{
    padding: 0 100px;
  }
  .floor-list{
    margin-right: -66px;
  }
  .list-item{
    float: left;
    width: 200px;
    margin-right: 66px;
  }
  .item-title{
    font-size: 18px;
    color: @blue;
    position: relative;
    display: inline-block;
    margin-bottom: 22px;
    padding-bottom: 5px;
    &:before, &:after{
      height: 1px;
      content: "";
      display: block;
      position: absolute;
      left: 0;
      bottom: 0;
    }
    &:before{
      width: 100%;
      background-color: @blue;
    }
    &:after{
      width: 20px;
      left: 10px;
      background-color: @orange;
    }
  }
  .item-con{
    line-height: 36px;
    color: @gray4c;
    margin-bottom: 25px;
    font-size: 16px;
  }
}
//合作认证
.index-floor2{
  width: 100%;
  background-color: @blue;
  padding: 67px 0 50px;
  position: relative;
  .floor-title{
    position: relative;
    margin-bottom: 72px;
    font-family: "PingFangMedium";
    text-align: center;
    color: @white;
  }
  .title-cn{
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 2px;
  }
  .title-en{
    font-size: 18px;
  }
  .floor-list{
    padding: 0 64px;
  }
  .list-item{
    width: 460px;
    float: left;
    margin: 0 38px 30px;
    position: relative;
    padding-bottom: 10px;
    transition: all .3s ease-in-out;
    &:hover{
      &:after{
        height: 4px;
        bottom: -3px;
      }
      .more{
        color: @orange;
      }
    }
    &:before, &:after{
      height: 1px;
      content: "";
      display: block;
      position: absolute;
      bottom: 0;
    }
    &:before{
      width: 100%;
      background-color: #245589;
    }
    &:after{
      width: 20px;
      background-color: @orange;
      transition: all .3s ease-in-out;
    }
  }
  .title{
    font-size: 18px;
    font-weight: bold;
    color: @white;
    float: left;
  }
  .more{
    color: #4982bf;
    float: right;
    margin-top: 10px;
    padding-right: 10px;
    line-height: 14px;
    transition: all .3s ease-in-out;
  }
}
//语言服务
.index-floor3{
  width: 100%;
  height: auto;
  background-color: #f7f7f7;
  background-image: url("../img/index_ls_bg1.jpg");
  background-position: right top;
  background-repeat: no-repeat;
  padding: 65px 0 0;
  .floor-title{
    position: relative;
    margin-bottom: 48px;
    font-family: "PingFangMedium";
    text-align: center;
  }
  .title-cn{
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 2px;
    color: @gray33;
  }
  .title-en{
    font-size: 18px;
    color: @gray4c;
  }
  .floor-wrap{
    width: 100%;
    height: 515px;
    padding: 0 100px;
    position: relative;
    box-sizing: border-box;
  }
  .fw-l{
    width: 642px;
    height: 414px;
    float: left;
    position: relative;
  }
  .fw-r{
    width: 358px;
    float: left;
    overflow: hidden;
  }
  .fwr-list{
    margin-right: -2px;
    overflow: hidden;
  }
  .list-item{
    width: 178px;
    height: 136px;
    float: left;
    background-color: @white;
    margin: 0 2px 2px 0;
    transition: all .3s ease-in-out;
    &.active{
      background-color: #717e91;
      .item-name{
        color: @white;
      }
      .item-tips{
        color: @white;
      }
    }
    &.last{
      width: 100%;
    }
  }
  .item-link{
    width: 100%;
    height: 100%;
    padding: 32px 22px 0 22px;
    display: block;
    overflow: hidden;
    box-sizing: border-box;
    transition: all .3s ease-in-out;
  }
  .item-name{
    color: @gray4c;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    margin-bottom: 35px;
    transition: all .3s ease-in-out;
    em{
      font-style: normal;
      margin-right: 8px;
    }
  }
  .item-tips{
    font-size: 12px;
    color: @lightB2;
  }
}
//职场公开课
.index-floor4{
  width: 100%;
  padding: 55px 0 80px;
  position: relative;
  background-color: #f7f7f7;
  //.floor-title{
  //  position: relative;
  //  margin-bottom: 22px;
  //  font-family: "PingFangMedium";
  //  text-align: center;
  //}
  //.title-cn{
  //  font-size: 36px;
  //  line-height: 40px;
  //  margin-bottom: 2px;
  //  color: @gray33;
  //}
  //.title-en{
  //  font-size: 18px;
  //  color: @gray4c;
  //}
  .floor-wrap{
    position: relative;
  }
  .floor-list{
    padding: 0 100px;
    overflow: hidden;
    &:before, &:after{
      width: 20px;
      height: 1px;
      background-color: #c3d0e1;
      content: "";
      position: absolute;
      top: 50%;
      margin-top: -44px;
    }
    &:before{
      left: 99px;
    }
    &:after{
      right: 99px;
    }
  }
  .list-item{
    width: 451px;
    height: 252px;
    float: left;
    margin: 20px;
    border-radius: 3px;
    position: relative;
    padding: 4px;
    background-color: #c3d0e1;
    overflow: hidden;
    &.before{
      &:before{
        width: 100%;
      }
      &:after{
        height: 100%;
      }
      .item-link{
        &:before{
          height: 100%;
        }
        &:after{
          width: 100%;
        }
      }
      .img-show{
        &:before, &:after{
          background-color: @orange;
        }
        &.img1{
          background: url("../img/index_wl_pic01.jpg") no-repeat;
        }
        &.img2{
          background: url("../img/index_wl_pic02.jpg") no-repeat;
        }
        &.img3{
          background: url("../img/index_wl_pic03.jpg") no-repeat;
        }
        &.img4{
          background: url("../img/index_wl_pic04.jpg") no-repeat;
        }
      }
    }
    &.after{
      &:before{
        width: 0;
      }
      &:after{
        height: 0;
      }
      &:before, &:after{
        transition-delay: .3s;
      }
      .item-link{
        &:before, &:after{
          transition-delay: 0s;
        }
        &:before{
          height: 0;
        }
        &:after{
          width: 0;
        }
      }
      .img-show{
        &:before, &:after{
          transition-delay: .6s;
          background-color: #0d4986;
        }
        &.img1{
          background: url("../img/index_wl_pic01_a.jpg") no-repeat;
        }
        &.img2{
          background: url("../img/index_wl_pic02_a.jpg") no-repeat;
        }
        &.img3{
          background: url("../img/index_wl_pic03_a.jpg") no-repeat;
        }
        &.img4{
          background: url("../img/index_wl_pic04_a.jpg") no-repeat;
        }
      }
    }
    &:before, &:after{
      content: "";
      display: block;
      position: absolute;
      background-color: #0d4986;
      transition: all .3s ease-in-out;
    }
    &:before{
      width: 0;
      height: 4px;
      top: 0;
      right: 0;
    }
    &:after{
      width: 4px;
      height: 0;
      top: 0;
      right: 0;
    }
  }
  .item-link{
    width: 100%;
    height: 100%;
    display: block;
    &:before, &:after{
      content: "";
      display: block;
      position: absolute;
      background-color: #0d4986;
      transition: all .3s ease-in-out;
      transition-delay: .3s;
    }
    &:before{
      width: 4px;
      height: 0;
      top: 0;
      left: 0;
    }
    &:after{
      width: 0;
      height: 4px;
      bottom: 0;
      right: 0;
    }
  }
  .img-show{
    width: 100%;
    height: 100%;
    transition: background .6s ease-in-out;
    &:before, &:after{
      content: "";
      display: block;
      position: absolute;
      background-color: #0d4986;
      z-index: 100;
      transition-delay: .6s;
    }
    &:before{
      width: 4px;
      height: 15px;
      top: 0;
      right: 0;
    }
    &:after{
      width: 15px;
      height: 4px;
      top: 0;
      right: 0;
    }
    &.img1{
      background: url("../img/index_wl_pic01_a.jpg") no-repeat;
    }
    &.img2{
      background: url("../img/index_wl_pic02_a.jpg") no-repeat;
    }
    &.img3{
      background: url("../img/index_wl_pic03_a.jpg") no-repeat;
    }
    &.img4{
      background: url("../img/index_wl_pic04_a.jpg") no-repeat;
    }
  }
  .floor-rect{
    width: 1px;
    height: 40px;
    position: absolute;
    left: 50%;
    margin-top: -19px;
    overflow: hidden;
    &:after{
      width: 1px;
      height: 100%;
      content: "";
      background-color: @orange;
      position: absolute;
      animation: indexAni2 3s infinite;
    }
  }
  .floor-op{
    padding-top: 40px;
    text-align: center;
  }
  .btn-link{
    width: 200px;
    height: 50px;
    line-height: 44px;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    border: 3px solid @blue;
    font-size: 16px;
    color: @blue;
    transition: all .3s ease-in-out;
    border-radius: 5px;
    &:hover{
      &:before{
        width: 198px;
        border-top-right-radius: 5px;
      }
      &:after{
        height: 48px;
        border-bottom-left-radius: 5px;
      }
      .link-text{
        &:before{
          width: 198px;
          border-bottom-left-radius: 5px;
        }
        &:after{
          height: 48px;
          border-top-right-radius: 5px;
        }
      }
      background-color: @white;
      color: @orange;
    }
    &:before, &:after{
      content: "";
      display: block;
      position: absolute;
      background-color: @orange;
      transition: all .3s ease-in-out;
    }
    &:before{
      width: 18px;
      height: 3px;
      top: -3px;
      left: -2px;
      border-top-left-radius: 5px;
    }
    &:after{
      width: 3px;
      height: 16px;
      top: -2px;
      left: -3px;
      border-top-left-radius: 5px;
    }
  }
  .link-text{
    &:before, &:after{
      content: "";
      display: block;
      position: absolute;
      background-color: @orange;
      transition: all .3s ease-in-out;
    }
    &:before{
      width: 18px;
      height: 3px;
      bottom: -3px;
      right: -2px;
      border-bottom-right-radius: 5px;
    }
    &:after{
      width: 3px;
      height: 16px;
      bottom: -2px;
      right: -3px;
      border-bottom-right-radius: 5px;
    }
  }
}
//企业参访
.index-floor5{
  width: 100%;
  background-image: url("../img/index_bg01.jpg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-attachment: fixed;
  box-sizing: border-box;
  padding: 70px 0 90px;
  position: relative;
  .floor-title{
    position: relative;
    font-family: "PingFangMedium";
    text-align: center;
    color: @white;
  }
  .title-cn{
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 2px;
  }
  .title-en{
    font-size: 18px;
  }
  .floor-list{
    padding: 48px 108px 56px;
  }
  .list-item{
    width: 120px;
    height: 120px;
    margin: 0 63px;
    float: left;
    &.explode{
      .item-link{
        background: rgba(255, 255, 255,1);
      }
      .wz{
        background-color: @white;
      }
      .cb-l, .cb-r{
        &:after{
          transition-delay: .3s;
          transform: rotateZ(360deg);
        }
      }
      .cb-l{
        &:after{
          transition-delay: .6s;
        }
      }
    }
    &.desplode{
      .item-link{
        transition-delay: .6s;
        background: rgba(255, 255, 255,.88);
      }
      .wz{
        transition-delay: .6s;
        background-color: transparent;
      }
      .cb-l{
        &:after{
          transition-delay: .3s;
        }
      }
    }
  }
  .item-link{
    width: 100%;
    height: 100%;
    display: block;
    background: rgba(255, 255, 255, .88);
    position: relative;
    border-radius: 50%;
    transition: all .3s ease-in-out;
    &.active{
      .cb-l, .cb-r{
        &:after{
          transform: rotateZ(360deg);
        }
      }
    }
  }
  .circle-box{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
  }
  .cb-l, .cb-r{
    width: 60px;
    height: 120px;
    position: relative;
    float: left;
    overflow: hidden;
    &:after{
      width: 60px;
      height: 120px;
      content: "";
      position: absolute;
      display: block;
      background-color: @orange;
      transition: all .3s linear;
      transform: rotateZ(180deg);
    }
  }
  .cb-l{
    border-radius: 120px 0 0 120px;
    &:after{
      border-radius: 120px 0 0 120px;
      transform-origin:right center;
    }
  }
  .cb-r{
    border-radius: 0 120px 120px 0;
    &:after{
      border-radius: 0 120px 120px 0;
      transform-origin:left center;
    }
  }
  .wz{
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border-radius: 50%;
    background-color: transparent;
    line-height: 30px;
    color: @gray33;
    font-size: 20px;
    padding: 30px 26px;
    text-align: center;
    transition: all .3s ease-in-out;
  }
  .floor-op{
    text-align: center;
  }
  .btn-link{
    width: 200px;
    height: 50px;
    line-height: 44px;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    border: 3px solid @white;
    font-size: 16px;
    color: @white;
    transition: all .3s ease-in-out;
    border-radius: 5px;
    &:hover{
      &:before{
        width: 198px;
        border-top-right-radius: 5px;
      }
      &:after{
        height: 48px;
        border-bottom-left-radius: 5px;
      }
      .link-text{
        &:before{
          width: 198px;
          border-bottom-left-radius: 5px;
        }
        &:after{
          height: 48px;
          border-top-right-radius: 5px;
        }
      }
      background-color: @white;
      color: @orange;
    }
    &:before, &:after{
      content: "";
      display: block;
      position: absolute;
      background-color: @orange;
      transition: all .3s ease-in-out;
    }
    &:before{
      width: 18px;
      height: 3px;
      top: -3px;
      left: -2px;
      border-top-left-radius: 5px;
    }
    &:after{
      width: 3px;
      height: 16px;
      top: -2px;
      left: -3px;
      border-top-left-radius: 5px;
    }
  }
  .link-text{
    &:before, &:after{
      content: "";
      display: block;
      position: absolute;
      background-color: @orange;
      transition: all .3s ease-in-out;
    }
    &:before{
      width: 18px;
      height: 3px;
      bottom: -3px;
      right: -2px;
      border-bottom-right-radius: 5px;
    }
    &:after{
      width: 3px;
      height: 16px;
      bottom: -2px;
      right: -3px;
      border-bottom-right-radius: 5px;
    }
  }
}
//合作伙伴
.index-floor6{
  width: 100%;
  padding: 62px 0 90px;
  box-sizing: border-box;
  background-image: linear-gradient(#f5f5f5, @white);
  .floor-title{
    position: relative;
    margin-bottom: 75px;
    font-family: "PingFangMedium";
    text-align: center;
  }
  .title-cn{
    font-size: 36px;
    color: @gray33;
  }
  .title-en{
    font-size: 18px;
    color: @gray4c;
  }
  .img-list{
    width: 100%;
    padding: 0 44px;
    display: table;
    box-sizing: border-box;
    text-align: center;
  }
  .list-item{
    display: table-cell;
  }
}
//css3动效
.button_su{
  overflow: hidden;
  position: relative;
  display: inline-block;
  border-radius: 30px;
}
.button_su_circle{
  background-color: @blue;
  border-radius: 50%;
  position: absolute;
  left:0;
  top:0;
  width: 0;
  height: 0;
  margin-left: 0;
  margin-top: 0;
}
.button_su_inner{
  width: 100px;
  height: 30px;
  line-height: 28px;
  font-size: 12px;
  border-radius: 30px;
  box-sizing: border-box;
  display: inline-block;
  border: 1px solid @lightGrayE5;
  color: @lightlyGray;
  text-align: center;
  position: relative;
  z-index: 100000;
  transition: all .3s ease-in-out;
  &:hover{
    border-color: @blue;
    color: @white;
  }
}
.explode-circle {
  animation: indexExplode .8s forwards;
}
.desplode-circle{
  animation: indexDesplode .8s forwards;
}

//total
.rx-total-ban{
  width: 100%;
  height: 750px;
  background-color: @black;
  .swiper-slide{
    background-position: center top;
    background-repeat: no-repeat;
  }
  .swiper-pagination{
    bottom: 15px;
  }
  .swiper-pagination-bullet{
    width: 14px;
    height: 14px;
    background-color: @white;
    border: 1px solid @blue;
    opacity: 1;
    box-sizing: border-box;
    margin: 0 7px!important;
  }
  .swiper-pagination-bullet-active{
    opacity: 1;
    background-color: @blue;
  }
  .s-pic{
    width: 1920px;
    height: 750px;
    position: absolute;
    left: 50%;
    margin-left: -960px;
    top: 0;
    z-index: 10;
  }
  .s-wz{
    width: 1200px;
    height: 100%;
    padding-top: 232px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    z-index: 1000;
    img{
      display: block;
    }
  }
  .btn-link{
    width: 100px;
    height: 30px;
    line-height: 30px;
    background-color: @white;
    color: @blue;
    font-size: 12px;
    letter-spacing: 2px;
    opacity: 1;
    transition: all .3s ease-in-out;
    &:hover{
      background-color: @blue;
      color: @white;
      transform: translateX(5px);
    }
  }
  .swiper-slide-active{
    z-index: 10000;
    .s-pic{
      animation: total_ban_ani1 10s infinite;
    }
  }
}
.rx-total-contact{
  padding: 40px 0 20px;
  &.set-bg{
    padding: 80px 0 48px;
    background: url("../images/train_ban2.jpg") no-repeat center top;
    .contact-info{
      .w1, .w2{
        color: @white;
      }
    }
    .layui-input, .layui-textarea{
      background: none;
      border-color: @white;
      color: @white;
      &::-webkit-input-placeholder{
        color: @white;
      }
    }
    .tips{
      color: @white;
    }
  }
  .contact-info{
    width: 333px;
    height: auto;
    float: left;
    .w1{
      font-family: "PingFangBold";
      font-size: 24px;
      line-height: 24px;
      letter-spacing: 1px;
      margin-bottom: 8px;
      color: @gray33;
    }
    .w2{
      font-family: "PingFangMedium";
      font-size: 16px;
      letter-spacing: 1px;
      color: @gray4c;
    }
  }
  .contact-table{
    width: 867px;
    float: left;
  }
  .layui-form-item{
    margin-bottom: 20px;
  }
  .layui-input-inline{
    min-width: 260px;
    margin-right: 15px;
    float: none;
  }
  .layui-input{
    height: 36px;
  }
  .layui-textarea{
    resize: none;
    min-height: 80px;
  }
  .layui-input, .layui-textarea{
    border-color: @lightlyGray;
    border-radius: 3px;
    color: @gray4c;
    &::-webkit-input-placeholder{
      color: @lightlyGray;
    }
  }
  .tips{
    display: inline-block;
    vertical-align: bottom;
    font-size: 12px;
    color: @gray4c;
    margin-left: -5px;
  }
  .btn-submit{
    width: 160px;
    height: 40px;
  }
}

//课表
.class-schedule-ban{
  width: 100%;
  height: 500px;
  background-color: @black;
  .swiper-slide{
    background-position: center top;
    background-repeat: no-repeat;
    &.disabled{
      cursor: default;
      pointer-events: none;
    }
  }
  .swiper-pagination{
    bottom: 15px;
  }
  .swiper-pagination-bullet{
    width: 14px;
    height: 14px;
    background-color: @white;
    border: 1px solid @blue;
    opacity: 1;
    box-sizing: border-box;
    margin: 0 7px!important;
  }
  .swiper-pagination-bullet-active{
    opacity: 1;
    background-color: @blue;
  }
}
.class-schedule-wrap{
  width: 100%;
  padding: 65px 0 75px;
  position: relative;
  .floor-title{
    position: relative;
    margin-bottom: 40px;
    font-family: "PingFangMedium";
    text-align: center;
  }
  .title-cn{
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 2px;
    color: @gray33;
  }
  .title-en{
    font-size: 18px;
    color: @gray4c;
  }
}
.class-schedule{
  width: 981px;
  height: auto;
  margin: 0 auto;
  position: relative;
}
.cs-loading{
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  text-align: center;
  padding-top: 32%;
  box-sizing: border-box;
  z-index: 100;
  &:before{
    width: 60px;
    height: 24px;
    display: inline-block;
    content: "";
    background: url("../img/loading-0.gif") no-repeat;
  }
}
.cs-header{
  font-size: 22px;
  font-weight: bold;
  text-align: right;
  margin-bottom: 18px;
  span{
    display: inline-block;
    vertical-align: middle;
    padding: 0 5px;
  }
  .btn{
    width: 22px;
    height: 22px;
    display: inline-block;
    vertical-align: middle;
    background: url("../img/cs_buttons.png") no-repeat;
    &.disabled{
      opacity: .2;
      cursor: not-allowed;
    }
    &:hover{
      &.prev{
        background-position: 0 -25px;
      }
      &.next{
        background-position: -25px -25px;
      }
    }
    &.prev{
      background-position: 0 0;
      &.disabled{
        background-position: 0 0!important;
      }
    }
    &.next{
      background-position: -25px 0;
      &.disabled{
        background-position: -25px 0!important;
      }
    }
  }
}
.cs-body{
  font-family: "PingFang SC";
  font-weight: 400;
  .layui-table{
    margin: 0;
    tr{
      background: @white!important;
    }
    td{
      width: 140px;
      border: 0;
      box-sizing: border-box;
    }
  }
}
.cs-body-title{
  border-right: 1px solid transparent;
  .layui-table{
    tr{
      height: 40px;
    }
  }
  .t-item{
    color: #18191a;
    font-size: 20px;
    text-align: center;
    &.active{
      background-color: #b8bbe5;
      color: @white;
      border-top-left-radius: 3px;
      border-top-right-radius: 3px;
      span{
        color: @white;
      }
    }
    span{
      font-size: 12px;
      color: #c3c5e5;
      margin-left: 5px;
      letter-spacing: 1px;
    }
  }
}
.cs-body-content{
  border-right: 1px solid #afafb2;
  border-bottom: 1px solid #afafb2;
}
.cs-body-week{
  border-top: 1px solid #afafb2;
  tr{
    height: 99px;
  }
}
.cs-body-day{
  width: 140px;
  border-left: 1px solid #afafb2!important;
  background: url("../img/cs_bg_1.png");
  padding: 0!important;
  &.active{
    .cs-day-inner{
      &:after{
        width: 100%;
        height: 100%;
        background-color: @orange;
        opacity: .1;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
      }
    }
    .cs-day-name{
      color: @orange;
      opacity: .5;
    }
    .cs-day-box{
      &:before{
        border-color: @orange transparent transparent @orange;
      }
    }
    .cs-event-more{
      color: @orange;
    }
  }
  &.not-month{
    &:after{
      width: 100%;
      height: 100%;
      background-color: #b8bbe5;
      opacity: .2;
      content: "";
      position: absolute;
      top: 0;
      left: 0;
    }
    .cs-day-name{
      color: #b8bbe5;
    }
  }
}
.cs-day-inner {
  position: relative;
  width: 139px;
  height: 99px;
  &:hover{
    .cs-day-popover{
      transform: scale(1);
      opacity: 1;
    }
  }
}
.cs-day-name {
  color: #dadbe5;
  font-size: 28px;
  padding: 19px 5px;
  text-align: right;
  position: relative;
  z-index: 5;
}
.cs-day-box{
  position: relative;
  padding: 0 20px;
  z-index: 5;
  &:before{
    width: 0;
    height: 0;
    content: "";
    border-width: 10px;
    border-style: solid;
    border-color: @blue transparent transparent @blue;
    position: absolute;
    left: 0;
    bottom: 1px;
  }
}
.cs-event-more{
  position: absolute;
  top: -18px;
  font-size: 12px;
  color: @blue;
}
.cs-day-event{
  height: 22px;
  line-height: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: @gray33;
  display: block;
  &:hover{
    color: @black;
  }
}
.cs-day-popover{
  width: 260px;
  min-height: 120px;
  background-color: #b8bbe5;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  border-radius: 3px;
  padding: 15px 10px;
  box-sizing: border-box;
  opacity: 0;
  transform: scale(0);
  transition: opacity .5s ease-in-out;
  &.pos-4, &.pos-5, &.pos-6{
    left: auto;
    right: 0;
  }
  .popover-date{
    font-size: 16px;
    line-height: 16px;
    font-weight: bold;
    color: @white;
    margin-bottom: 10px;
  }
  .list-item{
    line-height: 22px;
    color: @gray33;
    span{
      width: 50px;
      font-weight: bold;
      font-size: 12px;
      display: inline-block;
      vertical-align: middle;
    }
    .link{
      width: 175px;
      height: 22px;
      display: inline-block;
      vertical-align: middle;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      &:hover{
        opacity: 1;
        color: @black;
      }
    }
  }
}
